package com.shop.entity;


import java.io.Serializable;

/**
 * @Description 用户实体
 **/
public class User implements Serializable {

    private Integer id;
    private String account;        //登录名称
    private String nickName;    //用户名
    private String password;    //密码
    private Double money; //账户金额
    private Integer gender;        //性别
    private String idCardNo;
    private String email;        //电子邮箱
    private String phone ;      //电话
    private Integer type;        //用户类别
    //微信openId
    private String openId ;

    public User() {
    }

    public User(String account, String nickName, String password, String email, String phone) {
        this.account = account;
        this.nickName = nickName;
        this.password = password;
        this.email = email;
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }
}
